package com.sheng.center.service;

import java.util.List;

import com.sheng.center.dao.PlanDao;
import com.sheng.center.entity.Lab;
import com.sheng.center.entity.Plan;

public class PlanServiceImpl implements PlanService {

	private PlanDao planDao;

	@Override
	public void add(Plan plan) {
		planDao.add(plan);
	}

	@Override
	public void edit(Plan plan) {
		planDao.edit(plan);

	}
	
	@Override
	public void planOne(Plan plan) {
		planDao.planOne(plan);
		
	}

	@Override
	public void planTwo(Plan plan) {
		planDao.planTwo(plan);
		
	}
	@Override
	public void planEnough(Plan plan) {
		planDao.planEnough(plan);
	}
	@Override
	public void delete(Plan plan) {
		planDao.delete(plan);

	}

	@Override
	public List<Plan> findAllList(Plan plan) {
		return planDao.findAllList(plan);
	}

	@Override
	public Plan findById(Plan plan) {
		return planDao.findById(plan);
	}

	public PlanDao getPlanDao() {
		return planDao;
	}

	public void setPlanDao(PlanDao planDao) {
		this.planDao = planDao;
	}

	@Override
	public List<Plan> findAllListExamine(Plan plan) {
		return planDao.findAllListExamine(plan);
	}

	

	

}
